package Capitulo02;

class Dog {}

class Beagle extends Dog{}

class Kernel {
	public static void main(String[] args) {
		Beagle b1 = new Beagle();
		Dog d1 = new Dog();
		Dog d2 = b1;
		Beagle b2 = (Beagle) d2; 
	}
}
